package com.dong.cloud.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @author DJ
 * @description
 * @date 2022/1/12 10:52 下午
 **/
@Configuration
public class FeignLoggerConfig {

    @Bean
    public Logger.Level feignLogger() {
        // 日志级别设置 FULL 最全的 有四种，默认是NONE
        return Logger.Level.FULL;
    }
}
